angular.module('${menuCode}')
.controller("${widgetCode}Ctrl",function($scope,AppKit){
	var url = '/portal/index?MobileInformationsDataProvider&actionType=findKnowledgeInformations';
	var promise = AppKit.getJsonApi(url);
	promise.success(function(rspJson){
		$scope.industryNews = rspJson.industryNews;
	});
	
	$scope.openModal = function(id,text){
		$scope.modalTitle = text;
		$scope.currentInfoId = id;
		AppKit.createModal("km-info-modal",$scope);	
	}
	
	$scope.addClickNumber = function(id){
		$scope.info = {"id":id};
		var url = "/portal/index?WcmInfomationEdit&actionType=mobileIncreaseInfoReadCounts"
		AppKit.postJsonApi(url,$scope.info).then(function(response){
		});
	}
});